// 配置sdk的 appId、appkey、baseurl
let {BASE_URL,ID,KEY} = require('../config/index')
const AV = require('./av-core-min.js');
const adapters = require('./leancloud-adapters-weapp.js');
AV.setAdapters(adapters);
AV.init({ //初始化sdk
    appId: ID,
    appKey: KEY,
    serverURL: BASE_URL
});